package jgl.vajra.kingkong.part.order.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.bean.OrderEvaluateBean;
import jgl.vajra.kingkong.databinding.ActivityOrderEvaluateBinding;
import jgl.vajra.kingkong.databinding.ActivitySecurityCenterBinding;
import jgl.vajra.kingkong.widget.mvvm.model.BaseModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.kingkong.widget.mvvm.viewmodel.BaseViewModel;

public class OrderEvaluateContract {

    public abstract static class Model extends BaseModel {
        public abstract Observable<OrderEvaluateBean> getOrderEvaluateData(Map<String, Object> map);

        public abstract Observable<Object> submitCommentsData(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onBelt();

        void onNoBelt();

        void onDetermine();

        void returnOrderEvaluateBean(OrderEvaluateBean data);

        void returnSubmitCommentsData();
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityOrderEvaluateBinding, Model> {

        public abstract void getOrderEvaluateData(Map<String, Object> map);

        public abstract void submitCommentsData(Map<String, Object> map);
    }
}
